Key usage policies for cryptographic keys

ABSTRACT

A computer program product for secure key management is provided. The computer program product includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for creating a token and populating the token with key material, and binding key control information to the key material. The key control information includes information relating to usage of the key material populating one or more key usage fields that define attributes that limit actions that may be performed with the key material.

BACKGROUND

The present invention relates to data processing, and more specifically,to cryptography methods and structures.

Layouts for secure data structures, called key tokens, are used tocontain key material and may also include descriptors of the tokencontents. The token structure changes based on a wrapping method used toprotect the key material and other factors, such as what is included inassociated data and key control information.

SUMMARY

According to an aspect of the present invention, a computer programproduct for secure key management is provided. The computer programproduct includes a tangible storage medium readable by a processingcircuit and storing instructions for execution by the processing circuitfor performing a method. The method includes creating a token andpopulating the token with key material, and binding key controlinformation to the key material. The key control information includesinformation relating to usage of the key material populating one or morekey usage fields that define attributes that limit actions that may beperformed with the key material.

According to another aspect of the present invention, a method isprovided. The method includes creating a token and populating the tokenwith key material, and binding key control information to the keymaterial. The key control information includes information relating tousage of the key material populating one or more key usage fields thatlimit actions that define attributes that that may be performed with thekey material.

According to yet another aspect of the present invention, a system forsecure key management is provided. The system includes a computerprocessor and an application configured to execute on the computerprocessor. The application implements a method that includes creating atoken and populating the token with key material, and binding keycontrol information to the key material. The key control informationincludes information relating to usage of the key material populatingone or more key usage fields that define attributes that limit actionsthat may be performed with the key material.

Additional features and advantages are realized through the techniquesof the present invention. Other embodiments and aspects of the inventionare described in detail herein and are considered a part of the claimedinvention. For a better understanding of the invention with theadvantages and the features, refer to the description and to thedrawings.

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

The subject matter which is regarded as the invention is particularlypointed out and distinctly claimed in the claims at the conclusion ofthe specification. The forgoing and other features, and advantages ofthe invention are apparent from the following detailed description takenin conjunction with the accompanying drawings in which:

FIG. 1 depicts a block diagram of a system upon which secure keymanagement methods may be implemented in an exemplary embodiment;

FIG. 2 depicts a block diagram of a token or data structure to managekey material;

FIG. 3 depicts a block diagram of a header section of the token of FIG.2;

FIG. 4 depicts a block diagram of a wrapping information section of thetoken of FIG. 2;

FIG. 5 depicts a block diagram of an associated data section of thetoken of FIG. 2;

FIG. 6 is an exemplary key usage field;

FIG. 7 is an exemplary key management field; and

FIG. 8 depicts a payload section of the token of FIG. 2.

DETAILED DESCRIPTION

Aspects of the present invention concern secure recording with acryptographic key and management and usage policies for using acryptographic key for cryptographic operations. Utilizing these newpolicies, customers will also be assisted in demonstrating compliancewith new regulations and standards.

With reference now to FIGS. 1 and 2, an exemplary system 100 and keytoken 200 for providing secure key management will now be described. Thekey token 200 is a data structure that can hold a complete or partialcryptographic key (i.e., key material) along with key management andusage data associated with and bound to the cryptographic key.

The exemplary system 100 creates, uses and/or transmits key tokens 200including key material. The system of FIG. 1 includes a user system 102disposed in communication over one or more networks 104 with a hostsystem 106. The user system 102 represents a first party that submitskey material to be communicated to a second party (e.g., the host system106). The user system 102 may be a point of sale (POS) terminal that isimplemented using a computer executing a computer program for carryingout the processes described herein. The user system 102 may include ahardware security module (HSM) that manages cryptographic keys andprotects sensitive data and applications. An application 108 is used bythe HSM on the host system 106 to create, populate and manage the keytoken 200. The user system 102 may be a payment terminal, such as anautomated teller machine (ATM) or kiosk. The host system 106 may be afinancial institution connected to the user system 102 via one or moreof the network(s) 104.

The host system 106 receives encrypted data from user system 102 overthe one or more networks 104. This encrypted data may include, forexample, an account number and PIN information. The application 108 thenretrieves the key token 200 and passes the key token 200 to the HSMalong with the encrypted data. Inside the HSM, the key token 200 isunwrapped, the key material from the key token 200 is used to decryptthe encrypted data, the encrypted data is verified and a response isreturned to the application 108 as an indication of the validity of theencrypted data.

In one exemplary embodiment, the user system 102 includes hardware andsoftware to execute computer instructions to create the key token 200that securely wraps the key material for local use or for transmissionto another party, such as the host system 106. In another exemplaryembodiment, the host system 106 executes computer instructions to createthe key token 200 that securely wraps the key material for local use orfor transmission to another party, such as the user system 102.

The one or more networks 104 may be any type of known networksincluding, but not limited to, a wide area network (WAN), a local areanetwork (LAN), a global network (e.g. Internet), a virtual privatenetwork (VPN) and an intranet. The networks 104 may be implemented usinga wireless network or any kind of physical network implementation knownin the art. The user system 102 may be coupled to the host system 106through multiple networks (e.g., intranet and Internet). One or moreuser systems 102 and the host system 106 may be connected to thenetworks 104 in a wired or wireless fashion. In one embodiment, thenetworks 104 include an intranet and one or more user systems 102executing a user interface application (e.g., a web browser) to contactthe host system 106. In another exemplary embodiment, one or more of theuser systems 102 is connected directly (i.e., not through the network104) to the host system 106.

The host system 106 depicted in FIG. 1 may be implemented using one ormore servers operating in response to a computer program stored in astorage medium accessible by the server. The host system 106 may includeone or more hardware security modules (HSM).

The exemplary secure key management methods and structures may becreated and performed by components of the system 100 of FIG. 1.

The user system 102 may include a key token 200 by which the user system102 encrypts, for example, account data. The user system 102 then sendsthe encrypted data to application 108, which retrieves a copy of the keytoken 200 and passes the key token 200 along with the encrypted datainto the HSM where verification occurs. The key token 200 is a datastructure that includes several sections dedicated to selected tasks,such as describing the key token 200 and key material. A header section300 includes data used to interpret fields within sections of the keytoken 200. The exemplary header section 300 may have a fixed-size. Awrapping information section 400 may also be a fixed-size section thatcontains information pertinent to how (and if) the key material in apayload section 600 is wrapped. The wrapping information section alsoincludes information about how the key material in the payload section600 is securely bound to the information in an associated data (AD)section 500. The associated data section 500 may also be described as akey control information section but is not necessarily limited to keycontrol information and may include any other information a key creatorwants to be associated with the key token 200. The associated datasection 500 is a variable-size section that has a small fixed-sizeportion with some descriptive fields for the key material itself alongwith fields for the variable-size portions of this section.

The key material resides in the payload section 600 in a selected state.In an example, there are three states, including (1) not present, (2)clear and (3) encrypted/bound. In the not present state, the key token200 is a “skeleton” containing descriptive and policy information in auseful template that can be populated into a specific token with keymaterial at a later time. The clear state may be used for testingpurposes or low security applications, where it is useful to supporttokens that have unencrypted key material. In the encrypted/bound state,the key material is accompanied with pre-pended and/or post-pended data(key binding material). The key material and pre-pended or post-pendeddata conforms to and is wrapped using a supported wrapping methodindicated by token fields with the wrapping information section 400. Theexemplary key token 200 enables wrapping of the token sections via asuitable wrapping method without altering the key token 200 structure.Specifically, the structure of the header section 300, wrappinginformation section 400 and associated data section 500 will not changebased on the chosen wrapping method.

The various sections of the exemplary key token 200 may have fixed orvariable sizes. For example, the header section 300 has the fixed sizeof 8 bytes and the wrapping information section 400 has the fixed sizeof 22 bytes. The associated data section 500 has an overall variablesize composed of the fixed-size portion of 16 bytes plus a sum ofvariable-sized other components of the section. Similarly, the payloadsection 600 has a variable-size depending on the state of the keymaterial. Exemplary payload sizes include: 0 bytes for tokens with nokey material; the size of the key length itself for unencrypted keymaterial; and the key length plus key binding material for tokens thatinclude encrypted key material.

Turning now to FIG. 3, the exemplary header section 300 of the key token200 will now be described. The header section 300 includes severalfields used to describe aspects of the key token 200. A token identifierfield 302 indicates broad token type information to aid processing ofthe key token 200. Token types that may be listed in the tokenidentifier field 302 include internal tokens for local use, externaltokens for sending to another party, or zero token types (i.e.,placeholders), depending on usage needs and application requirements. Areserved field 304 is set aside for future use. An overall token lengthfield 306 indicates the entire length of the key token 200, includingthe header section 300. A token version number field 308 describes aversion of the key token 200, which separates this from legacy tokenstructure types supported by systems from the same manufacturer as thecurrent system 100. This enables the system 100 to access and usecurrent and legacy token types on the same machines. A reserved field310 is also set aside for future use.

FIG. 4 shows exemplary wrapping information section 400, which includesfields to describe how the key material in the payload section 600 iswrapped and secured to the associated data section 500 (key controlinformation). A key material state field 402 describes a state of thekey material in the payload section 600. Possible states include: astate in which no key is present; a state in which the key is clear; astate in which the key and a representation of the key controlinformation (such as a hash) is encrypted under a Key Encrypting Key(KEK); and a state in which the key and a representation of the keycontrol information (such as a hash) is encrypted under the secretMaster Key (MK) that stays in the HSM.

In the no key present state, the key token is a “skeleton” whichcontains descriptive and policy information in a useful template thatcan be populated into a specific token with actual key material at alater time. The clear state is used for testing purposes or low securityapplications. In the encrypted state of KEK and MK, the key material iswrapped and bound to the key by key binding material. The statesavailable in the key material state field 402 are limited by the tokenidentifier field 302, wherein an external token identifier may have akey material state of no key, a clear key or a KEK encryption.Similarly, an internal token identifier may have a key material state ofno key, a clear key or an MK encryption. Accordingly, the KEK keymaterial state is used to send the key material to another party,whereas the MK key material state is used locally by a host application.

With continued reference to FIG. 4, the wrapping key verificationpattern (KVP) type field 404 specifies the calculation method, such as ahash algorithm, to apply to the MK or KEK (as described in key materialstate field 402) used to wrap the payload section 600. The output of thecalculation is then compared to the content of a wrapping KVP valuefield 406 to verify that the correct key has been identified as wrappingthe payload section 600. If the values do not match, then the wrong keyhas been provided and the user is notified of the error. The KVP typefield 404 and wrapping KVP value field 406 are not used if the keymaterial state is no key or clear key.

A wrapping method field 408 is used to describe the payload section 600wrapping method and how it is bound to the associated data section 500.The wrapping method can include the layout of the payload section 600,the logical operations to perform on the key used for encryption, suchas KEK or MK, and what steps to do with the key used for encryption tomake up the final payload section 600, such as additional encryptionsteps or operations to bind associated data into the secure payload. Thelogical operations to perform on the key used for encryption are varioussteps performed in wrapping the payload section 600. As many as 255wrapping methods can be described. In one embodiment, four values areassigned to corresponding wrapping methods. Examples of wrapping methodsinclude advanced encryption standard key wrap (AESKW) or a public keyencryption scheme that combines algorithms, such as RSA (Rivest ShamirAdelman) with OAEP (Optimal Asymmetric Encryption Padding).

A hash method field 410 describes a hash algorithm applied to theassociated data section 500, wherein the resulting hash value is thencompared to a stored hash value (field 610) in the payload section 600.This check against the stored value is a mechanism to indicate if theassociated data section 500 has been altered. A reserved field 412 isset aside for future use.

Referring now to FIG. 5, the exemplary associated data (AD) section 500(also referred to as “key control information section”) includes fieldsfor the descriptive fields for the key material and other fields todescribe field sizes in this section. An AD version field 501 is used toidentify the version of the current AD section 500, thus allowing forfuture expansion as well as support across multiple versions andlayouts. A reserved field 502 is set aside for future use. In addition,reserved fields, in this and other sections, may be utilized to enablealignment of data in the section. A total length of AD field 504describes the size of the AD section 500. A length of AD label field 506describes the size of an optional AD label field 526 that is passed bythe user. This field gives the label length in bytes. A length ofproprietary data field describes a length in bytes of an extensibleproprietary data field 528 contained in the AD. A length of user datafield 510 describes the size of an extensible user data field 530,wherein the user can populate the variable length field. A reservedfield 512 is set aside for future use.

A bit length of payload field 514 describes the length of the payloadsection 500 in bits, which is important for certain wrapping methods. Areserved field 516 is set aside for future use. A cryptographicalgorithm for key field 518 indicates which supported cryptographicalgorithm can be used with the key material in the payload. Examples ofthe algorithm include those used with the following standards: AES, dataencryption standard (DES), RSA, Elliptic Curve and messageauthentication code (MAC). A type of key field 520 defines thecategories for use of the key material with the algorithm from field518. Categories of use are broad and include cipher key, importer KEK,exporter KEK, MAC generate and MAC verify. Key usage fields (KUFs) 522are a variable length and extensible field or set of fields that definenarrower attributes for the key type defined in 520. The key usagefields 522 define attributes that describe how the key material can beused or limit actions that may be performed in various situationsavailable for this type. For example, if the key material is an AES key,it can be used as a wrapping key for exporting other AES keys from thisHSM or as an unwrapping key to import other AES keys into this HSM. Inanother example, if the key material is a cipher key, the key usagefields 522 can further limit key material use to enciphering ordeciphering. A plurality of usage description fields may be placed inthe set of key usage fields 522. Accordingly, the key usage fields 522vary in size and interpretation based on other fields, including fields518 and 520. The exemplary key usage fields 522 may be in the followingformat: one byte: count of fields that follow this byte; two bytes each:fields with key usage fields data.

With reference to FIG. 6, two exemplary key usage fields 522 areprovided as a set of five bytes, which include a key usage field count5221, a key usage field 1 (KUF1) 5222 and a key usage field 2 (KUF2)5223. The key usage field count 5221 indicates how many key usage fieldsthere are (i.e., 1 to n or two, in the case of FIG. 6) in the key token200. Each of the KUF1 5222 and KUF2 5223 fields includes two bytes (ahigh order byte and a low order byte) each containing flag bits (i.e.,an independent set of indicators, with each indicator being used toindicate a key exchange of one specific method) describing thecapabilities and limitations of the key material of the key token 200and to provide for pairs of complementary keys. For example, for dataencryption purposes according to embodiments of the invention, two keytokens 200 with the same key value can be generated with one key token200 being capable of encrypting data (retained by the user) and one keytoken 200 being only capable of decrypting data (provided from the userto his business partner). In accordance with embodiments, each flag bitis independent of other flag bits and each unused bit is reserved andzeroed or set to a ‘Not allowed’ value.

Referring back to FIG. 5, key management fields (KMFs) 524 are avariable length and extensible field or set of fields that defineattributes for the key material wrapped in the token, including whattype of KEKs can be used to wrap this key material (if any), and whetherthe wrapped key material is complete or expects more user contributedmaterial. Other examples of attributes include limiting what can be doneto the key material, such as limiting distribution or export of the keymaterial, such as a cipher key, after receipt of the key material by aparty. The number of attributes or entries in the key management fields524 is variable. The key usage fields 522 vary in size andinterpretation based on other fields, including fields 518 and 520. Theexemplary key management fields 524 may be in the following format: onebyte: count of fields that follow this byte; two bytes each: fields withkey management fields data.

Exemplary key management fields 524 include fields that allow userpolicies to be implemented to manage the entire key material life cycleand are extensible to register key history and policies for theremaining life cycle. For example, the additional fields allow updatingof life cycle information after receiving the key material. Further,policies may be created after receipt.

With reference to FIG. 7, two exemplary key management fields 524 areprovided as a set of five bytes, which include a key management fieldcount 5241, a key management field 1 (KMF1) 5242 and a key managementfield 2 (KMF2) 5243. The key management field count 5241 indicates howmany key management fields there are (i.e., 1 to n or two, in the caseof FIG. 6) in the key token 200. Each of the KMF1 5242 and KMF2 5243fields includes two bytes (a high order byte and a low order byte) eachcontaining flag bits (i.e., an independent set of indicators, with eachindicator being used to indicate an action that may be performed on orwith the key material) describing the capabilities and limitations ofthe key material of the key token 200 and to provide for pairs ofcomplementary keys. For example, for data encryption purposes accordingto embodiments of the invention, two key tokens 200 with the same keyvalue can be generated with one key token 200 being capable of managingdata according to a first management policy and one key token 200 beingonly capable of managing data according to a second policy. Inaccordance with embodiments, each flag bit is independent of other flagbits and each unused bit is reserved and zeroed or set to a ‘Notallowed’ value.

In an exemplary embodiment, the high order byte of the KMF1 5242 may bestructured as a “1xxx xxxx” indicating that export using a symmetric keyis allowed or a “0xxx xxxx” indicating that export using a symmetric keyis prohibited, a “x1xx xxxx” indicating that export using anunauthenticated asymmetric key is allowed or a “x0xx xxxx” indicatingthat export using an unauthenticated asymmetric key is prohibited, a“xx1x xxxx” indicating that export using an authenticated asymmetric keyis allowed or a “xx0x xxxx” indicating that export using anauthenticated asymmetric key is prohibited, a “xxx1 xxxx” indicatingthat export to a TR-31 format is allowed or a “xxx0 xxxx” indicatingthat export to a TR-31 format is prohibited or a “xxxx 1xxx” indicatingthat export in RAW format is allowed or a “xxxx 0xxx” indicating thatexport in RAW format is prohibited. Meanwhile, the low order byte of theKMF1 5242 may be structured as a “0xxx xxxx” indicating that exportusing a DES key is allowed or a “1xxx xxxx” indicating that export usinga DES key is prohibited, a “x0xx xxxx” indicating that export using anAES key is allowed or a “x1xx xxxx” indicating that export using an AESkey is prohibited or a “xxxx 0xxx” indicating that export using an RSAkey is allowed or a “xxxx 1xxx” indicating that export using an RSA keyis prohibited. Of course, it is to be understood that these cases aremerely exemplary and that many other possibilities and combinationsexist.

As discussed above, the AD label field 526 is a user specified fieldthat gives a meaningful name to the token 200. The label is within thetoken 200, thereby enabling recovery of the label via field 526.Further, the AD label field is securely bound to the key material due tobeing wrapped as part of the AD section 500 with the key material. Sincethe label is unencrypted, the label can be used by the host system, forexample, to check if the user is authorized to use the key token 200.The proprietary data field 528 is for the HSM provider to include theirown data or identifiers, which will be securely bound to the keymaterial if an appropriate wrapping method is selected. The user datafield 530 is for user populated data and may hold data as designated bythe HSM-using host application. Accordingly, the user populates the datausing an interface on a host application. The optional sections fields532 allow for further extensibility of the token 200 at the discretionof the HSM-using host application 108 or the HSM manufacturer. Eachoptional section field is in the format of unique identifier, length(must include length of identifier and length fields) and an optionaldata section.

Referring now to FIG. 8, the exemplary payload section 600 may have nocontent, or not be wrapped (key material is here by itself and is notencrypted), which is indicated by an integrity check constant field 602.If the payload section 600 contains wrapped content then fields 408 and410 can be used to interpret the payload contents and the method forusing the appropriate KEK or MK to unwrap the payload. As stated above,the payload section 600 layout depends on the wrapping method chosen,such as AESKW or RSAES-OAEP wrapping methods. Moreover, the structureand layout of the header section 300, wrapping information section 400,associated data section 500 and payload section 600 are independent andremain the same as the wrapping method for the token 200 and payloadsection 600 are changed. As an example, the AESKW wrapping method andcorresponding payload layout will be described.

The integrity check constant value field 602 includes a known constantthat is used to determine if the unwrap succeeded before looking atother fields in the section. If the constant is not correct then thepayload was corrupted or modified in some way outside the control of theHSM. The corruption or modification is then alerted to the user. A bitlength of padding field 604 is used to describe if there is padding andthe size of padding, depending on the bit length of the key material inthe payload. Thus, this field indicates how much padding to remove. Alength of hash options field 606 describes the length of a hash optionsfield 608. The hash options field 608 describes various options that maybe used in computing the hash of AD field 610, while still conforming tothe AESKW standard. The hash of AD 610 is the hash value of the ADsection 500, used to verify that the section has not been altered. Aclear key material field 612 contains the key material or secret keythat is carried in the payload section 600. A key padding field 614 isused to pad the key material and depends on the size of the key materialin field 612.

Technical effects and benefits of the present invention includeproviding a method for secure key management, the method includingcreating a token and populating the token with key material and bindingkey control information to the key material. The key control informationincludes information relating to usage of the key material populatingone or more key usage fields that that define attributes that limitactions that may be performed with the key material.

The terminology used herein is for the purpose of describing particularembodiments only and is not intended to be limiting of the invention. Asused herein, the singular forms “a”, “an” and “the” are intended toinclude the plural forms as well, unless the context clearly indicatesotherwise. It will be further understood that the terms “comprises”and/or “comprising,” when used in this specification, specify thepresence of stated features, integers, steps, operations, elements,and/or components, but do not preclude the presence or addition of oneor more other features, integers, steps, operations, elements,components, and/or groups thereof.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements in the claims below are intended toinclude any structure, material, or act for performing the function incombination with other claimed elements as specifically claimed. Thedescription of the present invention has been presented for purposes ofillustration and description, but is not intended to be exhaustive orlimited to the invention in the form disclosed. Many modifications andvariations will be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the invention. Theembodiment was chosen and described in order to best explain theprinciples of the invention and the practical application, and to enableothers of ordinary skill in the art to understand the invention forvarious embodiments with various modifications as are suited to theparticular use contemplated.

Further, as will be appreciated by one skilled in the art, aspects ofthe present invention may be embodied as a system, method, or computerprogram product. Accordingly, aspects of the present invention may takethe form of an entirely hardware embodiment, an entirely softwareembodiment (including firmware, resident software, micro-code, etc.) oran embodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module” or “system.”Furthermore, aspects of the present invention may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), an optical fiber,a portable compact disc read-only memory (CD-ROM), an optical storagedevice, a magnetic storage device, or any suitable combination of theforegoing. In the context of this document, a computer readable storagemedium may be any tangible medium that can contain, or store a programfor use by or in connection with an instruction execution system,apparatus, or device.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations for aspects of thepresent invention may be written in any combination of one or moreprogramming languages, including an object oriented programming languagesuch as Java, Smalltalk, C++ or the like and conventional proceduralprogramming languages, such as the “C” programming language or similarprogramming languages. The program code may execute entirely on theuser's computer, partly on the user's computer, as a stand-alonesoftware package, partly on the user's computer and partly on a remotecomputer or entirely on the remote computer or server. In the latterscenario, the remote computer may be connected to the user's computerthrough any type of network, including a local area network (LAN) or awide area network (WAN), or the connection may be made to an externalcomputer (for example, through the Internet using an Internet ServiceProvider).

Aspects of the present invention are described below with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems) and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer program instructions. These computer program instructions maybe provided to a processor of a general purpose computer, specialpurpose computer, or other programmable data processing apparatus toproduce a machine, such that the instructions, which execute via theprocessor of the computer or other programmable data processingapparatus, create means for implementing the functions/acts specified inthe flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computerreadable medium that can direct a computer, other programmable dataprocessing apparatus, or other devices to function in a particularmanner, such that the instructions stored in the computer readablemedium produce an article of manufacture including instructions whichimplement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustration, andcombinations of blocks in the block diagrams and/or flowchartillustration, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

1. A computer program product for secure key management, the computerprogram product comprising: a tangible storage medium readable by aprocessing circuit and storing instructions for execution by theprocessing circuit for: creating a token and populating the token withkey material; and binding key control information to the key material,the key control information including: information relating to usage ofthe key material populating one or more key usage fields that defineattributes that limit actions that may be performed with the keymaterial.
 2. The method according to claim 1, wherein the key controlinformation further comprises a key usage field count indicating anumber of the key usage fields.
 3. The method according to claim 2,wherein the number of the key usage fields is 1 to n.
 4. The methodaccording to claim 2, wherein each of the key usage fields comprises anindependent set of indicators.
 5. The method according to claim 4,wherein each indicator is used to indicate an action that may beperformed with the key material.
 6. The method according to claim 4,wherein each indicator is independent of the others.
 7. The methodaccording to claim 4, wherein a fixed set of indicators have indicatorsthat are in use and indicators that are reserved, the reservedindicators being set to ‘Not allowed’. 8-14. (canceled)
 15. A system forsecure key management, comprising: a computer processor; and anapplication configured to execute on the computer processor, theapplication implementing: creation of a token and population of thetoken with key material; and a binding of key control information to thekey material, the key control information including: informationrelating to usage of the key material populating one or more key usagefields that that define attributes that limit actions that may beperformed with the key material.
 16. The method according to claim 15,wherein the number of the key usage fields is 1 to n.
 17. The methodaccording to claim 15, wherein the key control information furthercomprises a key usage field count indicating a number of the key usagefields.
 18. The method according to claim 15, wherein each of the keyusage fields comprises an independent set of indicators.
 19. The methodaccording to claim 18, wherein each indicator is used to indicate anaction that may be performed with the key material.
 20. The methodaccording to claim 18, wherein each indicator is independent of theothers.
 21. The method according to claim 18, wherein a fixed set ofindicators have indicators that are in use and indicators that arereserved, the reserved indicators being set to ‘Not allowed’.